package cn.wolfcode.service;

import cn.wolfcode.domain.ConsumptionItem;

import java.util.List;

public interface IConsumptionItemService {
    void delete(Long id);
    void insert(ConsumptionItem consumptionItem);
    ConsumptionItem get(Long id);
    List<ConsumptionItem> listAll();
    void update(ConsumptionItem consumptionItem);

    // 通过流水单号查看结算单详情
    List<ConsumptionItem> queryByCno(String cno);
}
